package com.homegoods.videomodule.model;

import com.homegoods.videomodule.item.AnchorCaseItem;
import com.kedll.library.adapter.MultiTypeAdapter;
import com.kedll.library.mvp.BaseItem;
import com.kedll.library.mvp.BaseModel;

/**
 * 必须实现 BaseModel
 */
public class AnchorCaseModel extends BaseModel {


    private String id;
    private String date;
    private String title;
    private String imgUrl;
    private String count;

    public String getId() {
        return id == null ? "" : id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDate() {
        return date == null ? "" : date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getTitle() {
        return title == null ? "" : title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getImgUrl() {
        return imgUrl == null ? "" : imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getCount() {
        return count == null ? "" : count;
    }

    public void setCount(String count) {
        this.count = count;
    }

    @Override
    public BaseItem createItem(MultiTypeAdapter adapter) {
        return new AnchorCaseItem(this, adapter);
    }

}
